package org.fang;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.netflix.eureka.EnableEurekaClient;
import org.springframework.context.ConfigurableApplicationContext;

/**
 * @Author forsake
 * @Description
 * @SpringBootApplication(exclude = {DataSourceAutoConfiguration.class})代表数据库自动注入，加了会报错
 * @Date 17:25 2022/3/9
 **/
@SpringBootApplication
@EnableEurekaClient
@EnableDiscoveryClient // 获取服务信息
public class CloudProvider_8003 {
    public static void main(String[] args) {
        ConfigurableApplicationContext run = SpringApplication.run(CloudProvider_8003.class, args);
    }
}
